/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.foxline.service;

import br.com.foxline.model.Coordenada;
import br.com.foxline.util.Msg;
import javax.ejb.Stateless;

/**
 *
 * @author ely
 */
@Stateless
public class CoordenadaService extends GenericService<Coordenada> {
    
     public CoordenadaService(){
        super(Coordenada.class);
    }
    
     @Override
    public void delete(Coordenada entity){
        try {
            super.delete(entity);
            Msg.messagemInfo(Msg.SuccessFull);
        } catch (Exception e) {
            e.printStackTrace();
            Msg.messagemError(Msg.Failure);
        }
    }
}
